home *** CD-ROM | disk | FTP | other *** search
-
- /* Generated by Interface Builder */
-
- #import <objc/Object.h>
-
- #define MOTOR 0
- #define ENGINE 1
- #define BOTH 2
-
- @interface Controller:Object
- {
- float mass;
- float shiftCeiling;
- float shiftFloor;
- int runningMode;
- }
-
- // Override methods.
-
- - init;
- - read:(NXTypedStream *)stream;
- - write:(NXTypedStream *)stream;
-
- // This Class' methods
-
- - (float)mass;
- - setMass:(float)aNumber;
-
- - (float)shiftCeiling;
- - setShiftCeiling:(float)aNumber;
-
- - (float)shiftFloor;
- - setShiftFloor:(float)aNumber;
-
- - powerRequired:(float)power;
-
- @end
-